//
//  UILable + Extension.swift
//  SinaWeibo
//
//  Created by yhlun on 15/11/17.
//  Copyright © 2015年 yhlun. All rights reserved.
//

import UIKit


extension UILabel {
    
    convenience init(title: String,size: CGFloat,color: UIColor) {
        
        self.init()
        
        text = title
        font = UIFont.systemFontOfSize(size)
        textAlignment = .Center
        textColor = color
        numberOfLines = 0

        sizeToFit()
        
    }
}






